package com.hougong.im.body.request;

import com.hougong.im.annotation.ProtocolField;
import com.hougong.im.body.BaseBodyCodec;

/**
 * 终端通用应答 0x0001
 */
public class GenericRequest extends BaseBodyCodec<GenericRequest> {
    /**
     * 对应中心的应答流水号
     */
    @ProtocolField(sort = 1)
    private int reStreamId;
    /**
     * 对用中心的业务类型 2字节
     */
    @ProtocolField(sort = 2)
    private short reBizType;
    /**
     * 操作结果 0成功/确认  1失败   2消息有误
     */
    @ProtocolField(sort = 3)
    private byte result;

    public int getReStreamId() {
        return reStreamId;
    }

    public void setReStreamId(int reStreamId) {
        this.reStreamId = reStreamId;
    }

    public short getReBizType() {
        return reBizType;
    }

    public void setReBizType(short reBizType) {
        this.reBizType = reBizType;
    }

    public byte getResult() {
        return result;
    }

    public void setResult(byte result) {
        this.result = result;
    }
}
